package com.example.industry.service;

import com.example.industry.entity.User;
import com.example.industry.enums.Roles;

import java.util.List;

public interface ProjectService
{
    boolean createProject(String projectName, Integer chairmanId, String projectIntroduction);

    boolean deleteProjectById(Integer projectId);

    boolean updateProject(Integer projectId, String projectName, String projectIntroduction);

    List<User> findUsersByProjectIdAndRole(Integer projectId, Roles role);

    boolean updateUserRoleInProject(Integer projectId, Integer userId, Roles role);

    boolean deleteUserInProjectByUserId(Integer projectId, Integer userId);
}
